import os

import requests

SERVER_URL = 'http://zhida.sheyueai.com/mineru/parse'
filepath = r'E:/ideaWrok/qikan-server/upload/wos/WOS_000380059300012/10.1080/10437797.2016.1174633.pdf'
with open(filepath, 'rb') as f:
    files = {'pdf': (os.path.basename(filepath), f)}
    print( files)

    response = requests.post(SERVER_URL, files=files)
    print(response)